package com.example.order_system.util;

import lombok.Getter;
import lombok.Setter;

/**
 * @description: 返回给前端的封装对象
 * @author: chengbaiyi
 * @create: 2022-07-22 14:31
 */
@Setter
@Getter
public class ResultData {
    private int state;
    private Object data;
    private String msg;

    public ResultData() {}

    public ResultData(int state, Object data, String msg) {
        this.state = state;
        this.data = data;
        this.msg = msg;
    }
}
